package com.xiaoshuidi.cloud.module.rooms.api.reserve.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

/**
 * @Author Feng
 * @date 2023/5/30
 */
@Data
@Schema(description = "预定支付成功请求对象")
public class PaymentSuccessfulDto {

    /**
     * 预定ID
     */
    @NotNull(message = "预定ID不可为空")
    @Schema(description = "预定ID")
    private Long reserveId;
    /**
     * 支付id
     */
    @Schema(description = "支付id")
    private Long paymentId;

    @Schema(description = "支付时间")
    private LocalDateTime payTime;
}
